package com.lab303.powerproject.repository;

import com.lab303.powerproject.entity.GraphInfo;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

import java.util.List;


public interface GraphInfoRepository extends JpaRepository<GraphInfo,Integer> {

    @Query(nativeQuery = true,value = "select * from graph_info where remark = ?1")
    List<GraphInfo> findGraphInfosByRemark(String remark);
}
